<script setup lang="ts">
import DishSortItemBar from '@/pages/dishManagement/components/DishSortItemBar.vue'

function handleClickLeft() {
  uni.navigateBack()
}
</script>

<template>
  <view class="h-full flex flex-col">
    <wd-navbar title="菜品排序" left-text="返回" left-arrow @click-left="handleClickLeft" />
    <wd-search placeholder="请输入菜名检索" hide-cancel placeholder-left focus />
    <view class="flex-1 overflow-hidden">
      <scroll-view class="box-border h-full overflow-hidden p-2">
        <dish-sort-item-bar :is-movable="false" name="辣子鸡丁" />
      </scroll-view>
    </view>
  </view>
</template>

<style scoped lang="scss"></style>
